IntIterator

abstract class IntIterator : Iterator<Int>

An iterator over a sequence of values of type Int.

Constructors

IntIterator
Link copied to clipboard
fun IntIterator()

Functions

hasNext
Link copied to clipboard
abstract operator fun hasNext(): Boolean

Returns true if the iteration has more elements.

next
Link copied to clipboard
operator override fun next(): Int

Returns the next element in the iteration.

nextInt
Link copied to clipboard
abstract fun nextInt(): Int

Returns the next value in the sequence without boxing.